import DvaIndex from "DvaCommon";
import { EntityModelConfig } from 'Configs';

const config = EntityModelConfig('PageVisit');

config.actionList.push(get("getPages", "PageVisit/GetPages", "getPages"));

function get(actionName, url, stateName, dataKey, isToken, hasToken) {
    return { actionName, url, method: "GET", stateName, dataKey, isToken, hasToken };
}

export default DvaIndex(config);
